package com.mrkun.vueshop.mapper;

import com.mrkun.vueshop.model.Router;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author by yong
 * @date 2020/3/15
 */
@Mapper
public interface RouterMapper {
    /**
     * 得到所有的路由数组
     * @return 路由数组
     */
    @Select("select * from router")
    List<Router> getAllRouter();
}
